package cn.edu.scau.cmi.wujiaxian.exercise4;

public class Sushu {

	public static void main(String[] args) {
		sushu(200);
	}
	
	public static void sushu(int n) {
		for(int i = 2; i <= n; i++) {
			int j = 2;
			for (; j < i; j++) if (i % j == 0) break;
			if (i == j) System.out.println(i);
		}
	}
	
}
